<#include "/lib/macro-lib.ftl"/>
<html>
<head>
<title>管理系统</title>
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "../inc/commonJs.html">
</head>
<script language="JavaScript">
function saveSystem() {
	$('#ltjbForm').form('submit',{  
	    url:'ltjbpzact.do',
	    onSubmit:function(param){
	        return $(this).form('validate');  
	    },  
	    success:function(data){
			$.messager.alert('提示',data,'info',function(){
		    	window.location.reload(true);
			});
			
	    }  
	});
}
function resetForm(){
	$('#sitename').val('${obj.sitename!}');
	$('#xpurl').val('${obj.xpurl!}');
	$('#email').val('${obj.email!}');
	$('#qq').val('${obj.qq!}');
	$('#copyright').val('${obj.copyright!}');
	$('#address').val('${obj.address!}');
	$('#zip').val('${obj.zip!}');
	$('#tel').val('${obj.tel!}');
	$('#themes').val('${obj.themes!}');
	$('#version').val('${obj.version!}');
	$('#showtip').val('${obj.showtip!}');
	$('#checkemail').val('${obj.checkemail!}');
	$('#pageList').val('${obj.pageList!}');
	setValue();
}
function setValue(){
	$('#shownum').combobox('setValue', '${obj.shownum!}');
	$('#adminnum').combobox('setValue', '${obj.adminnum!}');
	$('#pageSize').combobox('setValue', '${obj.pageSize!}');
}
</script>
<body topmargin="0">
<div align="center">
  <table border="1" width="90%" cellpadding="0" cellspacing="0" align="center" style=" margin-top:10px; border-collapse: collapse; border:#ccc 1px solid;">
    <form align="center"  method="POST" enctype='multipart/form-data' id="ltjbForm">
      <tr>
      <tr><td  class="td_title" colspan="4" height="30" align="center" valign="middle"><span align="center" class="smallFont">用户金钱设定：</span></td></tr>
             <tr>
             <td class="td_table_1" width="15%" height="30" align="right" valign="middle"><span class="smallFont">注册金钱数：</span></td>
        <td class="td_table_2" width="35%" height="30"><div align="left">&nbsp;
            <input name="wealthreg" size="26" class="smallInput" maxlength="20"  title="" value="${obj.wealthreg}">
            </div></td>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">登录增加金钱：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input name="wealthlogin" size="26" class="smallInput" maxlength="20"  title="" value="${obj.wealthlogin}">
            </div></td>
      </tr>
        <tr>
         <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">发帖增加金钱：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
     <input name="wealthannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.wealthannounce}">
          </td>
        <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">跟帖增加金钱：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
         <input name="wealthreannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.wealthreannounce}">
          </select>
          </td>
      </tr>
               <tr>
                    <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">删帖减少金钱：</span></td>
        <td class="td_table_2" colspan="3" height="30"><div align="left">&nbsp;
            <input name="wealthdel" size="26" class="smallInput" maxlength="20"  title="" value="${obj.wealthdel}">
            </div></td>
      </tr>
      <tr><td  class="td_title" colspan="4" height="30" align="center" valign="middle"><span align="center" class="smallFont">用户经验设定：</span></td></tr>
      <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">注册经验值：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input name="epreg" size="26" class="smallInput" maxlength="20"  title="" value="${obj.epreg}">
            </div></td>
              <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">登陆增加经验值：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
         <input name="eplogin" size="26" class="smallInput" maxlength="20"  title="" value="${obj.eplogin}">
          </td>
      </tr>
       <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">发帖增加经验值：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input name="epannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.epannounce}">
            </div></td>
              <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">跟帖增加经验值：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
         <input name="epreannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.epreannounce}">
          </td>
      </tr>
       <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">删帖减少经验值：</span></td>
        <td class="td_table_2" colspan="3" height="30"><div align="left">&nbsp;
            <input name="epdel" size="26" class="smallInput" maxlength="20"  title="" value="${obj.epdel}">
            </div></td>
      </tr>
       <tr><td  class="td_title" colspan="4" height="30" align="center" valign="middle"><span align="center" class="smallFont">用户魅力设定：</span></td></tr>
      <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">注册魅力值：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input name="cpreg" size="26" class="smallInput" maxlength="20"  title="" value="${obj.cpreg}">
            </div></td>
              <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">登陆增加魅力值：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
         <input name="cplogin" size="26" class="smallInput" maxlength="20"  title="" value="${obj.cplogin}">
          </td>
      </tr>
       <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">发帖增加魅力值：</span></td>
        <td class="td_table_2" height="30"><div align="left">&nbsp;
            <input name="cpannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.cpannounce}">
            </div></td>
              <td class="td_table_1" width="15%" height="30" align="right"><span class="smallFont">跟帖增加魅力值：</span></td>
        <td class="td_table_2" width="35%" height="30">&nbsp;
         <input name="cpreannounce" size="26" class="smallInput" maxlength="20"  title="" value="${obj.cpreannounce}">
          </td>
      </tr>
       <tr>
        <td class="td_table_1" height="30" align="right" valign="middle"><span class="smallFont">删帖减少魅力值：</span></td>
        <td class="td_table_2" colspan="3" height="30"><div align="left">&nbsp;
            <input name="cpdel" size="26" class="smallInput" maxlength="20"  title="" value="${obj.cpdel}">
            </div></td>
      </tr>
    <tr align="center" height="35"> 
	<td colspan="4" height="25">
		<input type="button" class="button_70px" onclick="saveSystem();" value="保存">  
        <!-- <input type="button" class="button_70px" type="resetForm();" value="重置"> --> 
 	</td>
	</tr>
    </form>
  </table>
  </center>
</div>
</body>
</html>